package com.ydcycloud.base.quartz;


/**
 * 
 * 定时任务类
 * 
 * ClassName: QuartzJob
 * 
 * @Description: TODO
 * @author yzw
 * @date 2017年8月10日
 */
public class QuartzJob extends Thread {

	@Override
	public void run() {
		/*SmsSetService smsSetService = SpringUtils.getBean("smsSetService");
		System.out.println(Thread.currentThread().getName() + "启动了");
		if (Thread.currentThread().getName().equals("检查生日线程")) {
			smsSetService.checkSend(1);
		}
		if (Thread.currentThread().getName().equals("检查复审线程")) {
			smsSetService.checkSend(2);
		}
		if (Thread.currentThread().getName().equals("检查换证线程")) {
			smsSetService.checkSend(3);
		}
		System.out.println(Thread.currentThread().getName() + "结束了");*/
	}

	public void work() {
		/*Thread t1 = new Thread(new QuartzJob(), "检查生日线程");
		t1.start();
		Thread t2 = new Thread(new QuartzJob(), "检查复审线程");
		t2.start();
		Thread t3 = new Thread(new QuartzJob(), "检查换证线程");
		t3.start();*/
	}

}
